From: Jérémy Lal Date: Thu, 5 Mar 2026 10:05:11 +0000 (+0100) Subject: keep nodejs compatible with libc-ares public headers X-Git-Tag: archive/raspbian/20.19.2+dfsg-1+rpi1+deb13u1^2~29 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:tmurad%40gmail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22mailto:tmurad%40gmail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=8fbbbd6de40eb796364b8a1d112d1de7d8b77e46;p=nodejs.git keep nodejs compatible with libc-ares public headers Forwarded: not-needed Last-Update: 2021-10-20 Gbp-Pq: Topic deps Gbp-Pq: Name cares.patch --- diff --git a/src/cares_wrap.h b/src/cares_wrap.h index 4a5d22c0e..58d65434a 100644 --- a/src/cares_wrap.h +++ b/src/cares_wrap.h @@ -23,7 +23,15 @@ # include #endif // __POSIX__ -# include +#if defined(__ANDROID__) || \ + defined(__MINGW32__) || \ + defined(__OpenBSD__) || \ + defined(_MSC_VER) +# include +#else +# include +#endif + namespace node { namespace cares_wrap {